package com.scorpio.appuser.mapper;


import com.scorpio.appuser.domain.AppUserEntity;
import com.scorpio.common.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * app用户Mapper接口
 *
 * @author scorpio
 * @date 2021-08-11
 */
@Mapper
public interface AppUserMapper extends BaseDao<AppUserEntity> {


    AppUserEntity selectByWxOpenId(@Param("wxOpenId") String wxOpenId);


    int updateNickNameAvatar(@Param("id") Long id, @Param("nickName") String nickName, @Param("avatar") String avatar);
}
